Benefits Eligibility Verification System API - Implementation Template

(0 reviews)

Developer guide

Availity Dev Guide

The Availity application uses the following DataWeave modules to be used in Coverage search

ModuleDescription
CoverageFHIRToolsAvailityFHIRTools DataWeave library contains functions used for Coverage search in Availity

CoverageFHIRTools

AvailityFHIRTools DataWeave library contains functions used for Coverage search
in Availity

Source: .src/main/resources/dwl/coverage/CoverageFHIRTools.dwl

Functions

fun createCoverageEligibilityResponse (coverageResp, activeCoveragesList, amountTypes, networkTypes)

Create CoverageEligibilityResponse from Availity Coverage Response

param coverageResp response from Availity
param activeCoveragesList a list of Status Codes for Active Coverages
param amountTypes is a list of amountTypes being mapped
param networkTypes is the types of networks being mapped
return FHIR R4 CoverageEligibilityResponse

fun createFHIRR4Benefit (benefit, amtDescription)

Create benefit array using payload.plans.amounts and amountTypes, and networkTypes

param benefit is array of amounts grouped by amountType
param amtDescription is the type of amount
return Return FHIR R4 formatted benefit array

fun getAmountsArray (benefitArray, amountTypes)

Filter amounts from Availity to include only amounts that are present

param benefitArray is the input from plans.amounts
param amountTypes
return Filtered list of non empty amounts matching amountTypes

fun benTypeCrossRef (benefitType)

Cross Reference benefits types between Availity and FHIR R4

param benefitType is the Availity benefit type
return Benefit Type and Name for FHIR R4 using Availity benefit type

fun termCodeLookup (termCode)

Cross Reference term types between Availity and FHIR R4

param termCode is the Availity term code
return FHIR R4 term code using Availity term code

fun bnftPayableLookup (bnftCode, bnftUnit)

Cross Reference benefit amount type between Availity and FHIR R4

param benifitType is the Availity benefitType (coPayment,coInsurance,deductible
return FHIR R4 term code using Availity term code

fun coverageStatus (coverageRespPayload, activeCoveragesList)

Function to lookup plan status from activeCoverageList and set coverage status at root level

param coverageRespPayload is the Availity Coverage Response
param activeCoveragesList is the list of Availity Active Coverage statuses
return A boolean indicating coverage status

fun outcomeLookup (availityStatusCode)

Cross Reference function to convert Availity Coverage Status Code at root level to FHIR outcomes

param availityStatusCode is the status code from Availity
return FHIR R4 Outcome looked up from Availity Coverage Status code

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 12, 2023
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.3
1.0.2
1.0.1
1.0.0